/* Section 1: Theme */
.theme {
    padding-top: 170px;
    padding-bottom: 50px;
}

.theme-title {
    padding-top: 50px;
    width: 100%;
}

.theme-title-1 {
    width: 100%;
    color: #775628;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: calc(100% + 4px);
}

.theme-sub-title {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: justify;
}

.theme-2 {
    border: none;
    margin-right: 0px;
    background: var(--gra2);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-2:hover,
.theme-2:focus,
.theme-2:active {
    outline: none;
}

.theme .contain-img {
    width: fit-content;

}

.theme img {
    max-width: 90%;
    max-height: 100%;
    display: block;
    margin: auto;
}

@media (max-width: 1200px) {
    .theme-title-1 {
        margin-top: 10px;
    }
}

@media (max-width: 991px) {
    .theme {
        padding-top: 120px;
    }

    .theme-title-1 {
        margin-top: 10px;
    }

    .theme-sub-title {
        margin-top: 15px;
    }

    .theme-title {
        padding-top: 0px;
    }

    .theme img {
        max-width: 87%;
        max-height: 100%;
        display: block;
        margin: auto;
    }
}

/* Section 1: upload */
.upload {
    position: relative;
    z-index: 1;
    padding-bottom: 50px;
}

.upload .box {
    position: relative;
    z-index: 1;
    padding-top: 30px;
    padding-bottom: 10px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0px 4px 15px  rgb(0, 0, 0, 0.25);
}

.upload .box-title {
    text-align: center;
}

.upload .box-title h2 {
    margin-bottom: 0px;
    background: var(--gra2);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    display: block;
    margin: 0 auto;
    font-weight: 500;
}

/* upload frame start*/
.upload .up-frame {
    height: 430px;
}

.upload-wrapper{ 
    width: 100%;
    display: grid; 
    grid-template-columns: .9fr 1.1fr; 
    padding: 20px 40px 0px 40px;
}

/* LEFT: Dropzone */
.dropzone-card{
    background: rgb(119, 86, 40, 0.05);
    border-radius: 40px;
    position: relative; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    height: 400px;
}

.border-svg {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none; 
}

.dropzone{
    width:100%; 
    height:100%; 
    display:grid; 
    place-items:center; 
    text-align:center; 
    gap:14px; 
    padding: 28px 12px;
    position: relative;
}

.upload-icon{ 
    font-size: 65px;
    color: #7b542e;
    margin-bottom:6px; 
}

.drop-title{ 
    font-weight:600; 
    font-size: 20px;
}

.line-or {
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload .line {
    width: 70px;
    height: 1px;
    background: #505050;
}

.or{ 
    color:#505050; 
    font-size: 18px; 
}

.upload .browseBtn{ 
    cursor: pointer; 
    border: 2.5px solid #775628; 
    color:#775628; 
    background: transparent; 
    border-radius: 46px; 
    transition:.2s ease; 
    font-size: 20px;
    height: 44px;
    width: 180px;
    background: #f8f6f4;
}

.upload .browseBtn:hover{
    background: #775628; 
    color:#f8f6f4; 
}

.upload .browseBtn:focus,
.upload .browseBtn:active {
    outline: none;
}

.help{ 
    font-size: 18px; 
    color: #505050; 
    margin-top:8px; 
}
.help b{ 
    font-family: 'Inter';
    color:#000; 
    font-weight:700; 
}

/* RIGHT: File list */
.panel{ 
    padding: 10px 0px 10px 35px; 
    height: 400px;
    display: flex;             
    flex-direction: column;     
    min-height: 0;              
    overflow: hidden;    
}

.panel h3{ 
    margin-bottom: 20px; 
    background: var(--gra2);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.file-scroll{
    flex:1; 
    min-height:0;   
    overflow-y:auto; 
    overflow-x:hidden;
    padding-right:8px;  
    scrollbar-width: thin;
}

.file-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }

.file-item{ 
    display:grid; 
    grid-template-columns: 50px minmax(0, 1fr) 50px; 
    gap:10px; 
    align-items:center; 
}

.file-meta{ display:flex; flex-direction:column; min-width: 0;}

.file-name{ 
    font-family: 'Inter'; 
    max-width: 100%; 
    font-size:14px; 
    font-weight:500; 
    white-space:nowrap; 
    overflow:hidden; 
    text-overflow:ellipsis; 
    line-height: 24px;
}

.size-per {
    display: flex;
    font-family: 'Inter'; 
    font-size: 12px;
    color: #505050; 
    justify-content: space-between;
    height: 22px;
    line-height: 22px;
}

.file-progress{ align-self:center; height:2px; width:100%;  background:#f1e8dc; border-radius:999px; overflow:hidden; position:relative; }
.file-progress > .bar{ height:100%; min-width: 2px; background: linear-gradient(90deg, #775628, #C07F00); transition: width .2s linear; }

.contain-pro {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.contain-pro > div {
    width: 100%;
}

.btn-x{ 
    color: #775628;
    font-size: 24px; 
    font-weight: 500; 
    cursor:pointer; 
    display: block;
    margin-left: auto;
}

.btn-x:hover{         
    color: rgb(119, 86, 40, 0.8);
}

.badge-error{ font-size:12px; color:#b42318; }

.contain-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid #775628;
    background: #F5F2EE;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-icon{ 
    font-size: 35px;
    color: #775628; 
}

.hidden{ display:none; }

/* upload frame end */

.upload .box-end div {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.upload .box-end p {
    margin-bottom: 0px;
    text-align: center;
    color: #505050;
    font-family: 'Inter';
    font-weight: 300;
}

.upload .box-end p.text-alert {
    font-family: 'Inter';
    color: #775628;
    font-weight: 600;
    height: 30px;
}

.upload .box-end p span {
    font-family: 'Montserrat';
    font-weight: 400;
}

.box-end .material-symbols-rounded {
    color: #505050;
    font-weight: 300;
}

.upload .box-end button {
    display: block;
    margin: 20px auto;
    border: none;
    background: #775628;
    color: #F5F2EE;
    height: 40px;
    width: 160px;
    border-radius: 40px;
}

.upload .box-end button:hover,
.upload .box-end button:focus {
  outline: none;
  border: solid 3px #775628;
  background: #F5F2EE; 
  color: #775628;
  outline: none;
}

.upload .box-end button:active {
  outline: none;
}

#extract:disabled {
    background-color: #ccc;       
    color: #777;                  
    border: 3px solid #aaa;      
    cursor: not-allowed;          
    opacity: 0.7;                
    box-shadow: none;             
}

#extract:disabled:hover {
    background-color: #ccc;
    color: #777;
}

.upload .bgr {
    background: var(--gra7);
    height: 500px;
    width: 100%;
    position: absolute;
    z-index: 0;
    top: calc(50% - 270px);
}

@media (max-width: 1400px) {
    .upload .browseBtn {
        border: 2px solid #775628;
        font-size: 18px;
        width: 170px;
    }

    .drop-title {
        font-size: 19px;
    }

    .help {
        font-size: 17px;
    }

    .panel {
        padding: 10px 0px 10px 30px;
    }

    .panel h3 {
        margin-bottom: 15px;
    }

    .file-item {
        grid-template-columns: 48px minmax(0, 1fr) 40px;
    }

    .contain-icon {
        width: 48px;
        height: 48px;
    }

    .file-icon {
        font-size: 32px;
    }
}

@media (max-width: 1200px) {
    .upload-wrapper {
        padding: 20px 30px 0px 30px;
    }

    .upload .browseBtn {
        font-size: 17px;
        width: 160px;
        height: 36px;
    }

    .drop-title {
        font-size: 18px;
    }

    .panel {
        padding: 10px 0px 10px 20px;
    }

    .file-item {
        grid-template-columns: 45px minmax(0, 1fr) 30px;
    }

    .contain-icon {
        width: 45px;
        height: 45px;
    }

    .file-icon {
        font-size: 28px;
    }

    .btn-x {
        font-size: 20px;
    }

    .or {
        font-size: 17px;
    }

    .upload .box-end button {
        height: 36px;
        width: 150px;
    }
}

@media (max-width: 991px){
    .upload .box-title {
        padding: 0px 30px;
    }

    .upload .box-title p span {
        display: block; 
        margin-bottom: 6px; 
    }

    .upload-wrapper { 
        grid-template-columns: 1fr; 
    }

    .upload .up-frame {
        height: 630px;
    }

    .dropzone-card {
        height: 240px;
    }

    .dropzone {
        gap: 10px;
        padding: 20px 12px 20px 12px;
    }

    .upload-icon {
        font-size: 160px;
        color: rgb(119, 86, 40, 0.09);
        margin-bottom: 0px;
        position: absolute;
        z-index: -1;
    }

    .upload .browseBtn {
        position: relative;
        z-index: 0;
        font-size: 16px;
        width: 150px;
        height: 34px;
    }

    .help {
        font-size: 16px;
        margin-top: 4px;
    }

    .panel {
        padding: 10px 0px 0px 10px;
        height: 360px;
    }

    .panel h3 {
        margin-bottom: 10px;
    }

    .file-list {
        gap: 10px;
    }

    .file-item {
        grid-template-columns: 45px minmax(0, 1fr) 30px;
    }

    .contain-icon {
        width: 45px;
        height: 45px;
    }

    .file-icon {
        font-size: 28px;
    }

    .upload .bgr {
        height: 600px;
        top: calc(50% - 330px);
    }

    .upload .box-end button {
        margin: 20px auto;
        height: 34px;
        width: 140px;
    }
}

@media (max-width: 768px){
    .upload .box-title {
        padding: 0px 20px;
    }

    .upload .box-title h2 {
        font-size: 22px;
    }

    .upload-wrapper {
        padding: 20px 20px 0px 20px;
    }

    .upload-icon {
        font-size: 130px;
    }

    .drop-title {
        font-size: 17px;
    }

    .help {
        font-size: 15px;
    }

    .file-name {
        font-size: 13px;
        line-height: 23px;
    }

    .file-item {
        grid-template-columns: 43px minmax(0, 1fr) 30px;
    }

    .contain-icon {
        width: 43px;
        height: 43px;
    }

    .file-icon {
        font-size: 26px;
    }

    .size-per {
        font-size: 11.5px;
    }

    .upload .box-end button {
        margin: 16px auto;
    }
}

@media (max-width: 576px){
    .upload .box-end button {
        margin: 12px auto;
        height: 32px;
        width: 130px;
    }
}

/* section conversion */
.conversion {
    padding-bottom: 50px;
    display: none;
}

.conversion .frame {
    border-radius: 20px;
    border: 2px solid rgb(119, 86, 40, 0.6);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    height: 320px;
}

.conversion h5 {
    color: #775628;
    font-weight: 600;
}

.conversion .edit {
    display: flex;
    gap: 5px;
    font-family: 'Inter';
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
    height: 30px;
    display: none;
    margin-top: 10px;
}

.conversion .edit input {
    font-family: 'Inter';
    font-weight: 300;
    font-size: 17px;
    line-height: 25px;
    width: 100%;
    border: none;
    outline: 1px solid #775628;
    border-radius: 5px;
    padding: 2px 5px;
    width: 440px;
}

.conversion .edit .name {
    display: block;
    margin: auto;
}

.conversion .edit input:focus,
.conversion .edit input:active {
    border: none;
}

.conversion .edit .material-symbols-rounded {
    font-size: 22px;
    color: #775628;
    display: block;
    margin: auto;
}

.conversion .action-button {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    display: none;
}

.conversion .action-button button {
    height: 60px;
    border-radius: 5px;
    border: none;
}

.conversion .action-button button:hover,
.conversion .action-button button:focus,
.conversion .action-button button:active {
    outline: none;
    opacity: 0.9;
}

.conversion .action-button button span {
    font-size: 40px;
}

.conversion .action-button .btn-download {
    background: #775628;
    width: 220px;
}

.conversion .action-button .btn-download div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #fff;
    font-size: 22px;
}

.conversion .action-button .btn-p {
    background: rgb(119, 86, 40, 0.2);
    color: #775628;
    width: 70px;
}

.loader {
    width: 160px;
    height: 185px;
    position: relative;
    background: #826339;
    border-radius: 100px 100px 0 0;
}

.loader:after {
    content: "";
    position: absolute;
    width: 100px;
    height: 125px;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    background-image: radial-gradient(circle, #000 48%, transparent 55%),
        radial-gradient(circle, #000 48%, transparent 55%),
        radial-gradient(circle, #FFF7D4 30%, transparent 45%),
        radial-gradient(circle, #000 48%, transparent 51%),
        linear-gradient(#000 20px, transparent 0),
        linear-gradient(#FFF7D4 60px, transparent 0),
        radial-gradient(circle, #FFF7D4 50%, transparent 51%),
        radial-gradient(circle, #FFF7D4 50%, transparent 51%);
    background-repeat: no-repeat;
    background-size: 16px 16px, 16px 16px, 10px 10px, 42px 42px, 12px 3px,
        50px 25px, 70px 70px, 70px 70px;
    background-position: 25px 10px, 55px 10px, 36px 44px, 50% 30px, 50% 85px,
        50% 50px, 50% 22px, 50% 45px;
    animation: faceLift 3s linear infinite alternate;
}

.loader:before {
    content: "";
    position: absolute;
    width: 140%;
    height: 125px;
    left: -20%;
    top: 0;
    background-image: radial-gradient(circle, #826339 48%, transparent 50%),
        radial-gradient(circle, #826339 48%, transparent 50%);
    background-repeat: no-repeat;
    background-size: 65px 65px;
    background-position: 0px 12px, 145px 12px;
    animation: earLift 3s linear infinite alternate;
}

@keyframes faceLift {
    0% {
        transform: translateX(-60%);
    }
    100% {
        transform: translateX(-30%);
    }
}
@keyframes earLift {
    0% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0px);
    }
}

@media (max-width: 1200px) {
    .conversion h5 {
        font-size: 20px;
    }

    .conversion .frame {
        height: 310px;
    }

    .conversion .action-button button {
        height: 56px;
    }

    .conversion .action-button button span {
        font-size: 37px;
    }

    .conversion .action-button .btn-download {
        width: 190px;
    }

    .conversion .action-button .btn-download div {
        font-size: 21px;
    }

    .conversion .action-button .btn-p {
        width: 65px;
    }
}

@media (max-width: 991px) {
    .conversion h5 {
        font-size: 19px;
    }

    .conversion .frame {
        height: 300px;
    }

    .conversion .edit {
        font-size: 17px;
    }

    .conversion .action-button button {
        height: 50px;
    }

    .conversion .action-button button span {
        font-size: 32px;
    }

    .conversion .action-button .btn-download {
        width: 170px;
    }

    .conversion .action-button .btn-download div {
        font-size: 19px;
    }

    .conversion .action-button .btn-p {
        width: 60px;
    }
}

@media (max-width: 768px) {
    .conversion .edit {
        font-size: 15px;
    }

    .conversion .action-button {
        gap: 5px;
    }

    .conversion .action-button button {
        height: 50px;
    }

    .conversion .action-button button span {
        font-size: 32px;
    }

    .conversion .action-button .btn-download {
        width: 160px;
    }

    .conversion .action-button .btn-download div {
        font-size: 18px;
    }

    .conversion .action-button .btn-p {
        width: 56px;
    }
}

/* section instruct */
.instruct {
    padding-top: 50px;
    padding-bottom: 50px;
}

.instruct .title h2 {
    background: var(--gra2);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    font-weight: 500;
    margin-bottom: 20px;
}

.instruct .title h5 {
    font-size: 22px;
}

.instruct .content {
    margin-top: 40px;
}

.instruct .content div div {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 18px 10px;
    border-bottom: 1px solid #D4D4D4;
    height: 100px;
}

.instruct .content .left-part div:first-child {
    border-top: 1px solid #D4D4D4;
}

.instruct .content .left-part,
.instruct .content .right-part {
    width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.instruct .content h4 {
    margin: 0px;
    font-size: 30px;
    line-height: 30px;
}

.instruct .content p {
    margin: 0px;
    font-size: 20px;
    line-height: 32px;
}

.instruct .contain-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.instruct .contain-img img {
    width: 80%;
}

@media (max-width: 1200px) {
    .instruct .content p {
        margin: 0px;
        font-size: 18px;
        line-height: 30px;
    }
}

@media (max-width: 991px) {
    .instruct .title h5 {
        font-size: 20px;
    }

    .instruct .content .left-part {
        width: 60%;
    }

    .instruct .content .right-part {
        width: 40%;
    }

    .instruct .contain-img img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .instruct .title h5 {
        font-size: 18px;
    }

    .instruct .content div div {
        padding: 18px 10px;
        height: 90px;
    }

    .instruct .content .left-part {
        width: 100%;
    }

    .instruct .content .right-part {
        width: 100%;
    }

    .instruct .contain-img img {
        width: 70%;
    }
}

/* section xml-faq */
.xml-faq {
    padding-top: 50px;
    padding-bottom: 70px;
}

.xml-faq h2 {
    background: var(--gra2);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    font-weight: 500;
    display: block;
    margin: auto;
    margin-bottom: 40px;
}

.xml-faq .faq {
    transition: all 5s;
}

.xml-faq .faq .question {
    background: rgb(119, 86, 40, 0.1);
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-top: 1px solid rgb(119, 86, 40, 0.6);
}

.xml-faq .faq .question *{
    margin: 0;
    color: #775628;
}

.xml-faq .faq .question h4 {
    font-weight: 600;
}

.xml-faq .faq .question p {
    font-size: 52px;
    font-weight: 100;
    cursor: pointer;
}

.xml-faq .faq .answer {
    display: none;
    padding: 18px 25px;
}

.xml-faq .faq .answer p {
    font-size: 20px;
    margin: 0;
    font-family: 'Inter';
    font-weight: 300;
}

.xml-faq .faq .answer span {
    color: #775628;
    font-weight: 700;
}

.xml-faq .faq.open .answer {
    display: block;
}

.xml-faq .faq.open .question p {
    font-size: 42px;
    font-weight: 200;
}

.xml-faq .faq:last-child {
    height: 141px;
}

@media (max-width: 1400px) {
    .xml-faq .faq .question h4 {
        font-size: 22px;
    }
}

@media (max-width: 1200px) {
    .xml-faq .faq .question h4 {
        font-size: 21px;
    }

    .xml-faq .faq .answer p {
        font-size: 19px;
    }
}

@media (max-width: 991px) {
    .xml-faq .faq .question {
        padding: 20px 22px;
    }

    .xml-faq .faq .answer {
        padding: 14px 22px;
    }

    .xml-faq .faq .question h4 {
        font-size: 19px;
    }

    .xml-faq .faq .answer p {
        font-size: 18px;
    }

    .xml-faq .faq .question p {
        font-size: 46px;
    }

    .xml-faq .faq.open .question p {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .xml-faq .faq .question {
        padding: 18px 20px;
    }

    .xml-faq .faq .question h4 {
        font-size: 17px;
    }

    .xml-faq .faq .answer p {
        font-size: 16px;
    }

    .xml-faq .faq .answer {
        padding: 14px 20px;
    }

    .xml-faq .faq .question p {
        font-size: 42px;
    }

    .xml-faq .faq.open .question p {
        font-size: 36px;
    }
}

/* call to action  */
.call-to-action {
    padding-top: 60px;
    padding-bottom: 60px;
    background: var(--gra1, linear-gradient(90deg, #C07F00 1%, #FFD95A 100%));
}

.action-title {
  width: 70%;
}

.action-quote {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 44px;
  color:white;
  margin-left: 5%;
}

.action-text {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #775628;
  margin-top: 10px;
  margin-left: 5%;
}


.action-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.call-to-action-btn {
  border: none;
  padding: 8px 30px 8px 30px;
  background: white;
  border-radius: 40px;
  color: #775628 !important;
  margin-bottom: 20px;
  margin-top: 20px;
}

.call-to-action-btn:hover,
.call-to-action-btn:active,
.call-to-action-btn:focus {
  border: none;
  padding: 8px 30px 8px 30px;
  background: #775628;
  border-radius: 40px;
  color: white !important;
}

@media (max-width: 1200px) {
  .action-quote {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .action-text {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  .action-quote {
    font-size: 16px;
    margin-bottom: 10px;
    margin-left: 10%;
  }

  .action-text {
    font-size: 14px;
    margin-left: 10%;
  }
}

@media (max-width: 768px) {
  .col-6half {
    width: 100%;
  }

  .action-quote {
    font-size: 20px;
    margin-bottom: 8px;
    margin-left: 0;
    text-align: center;
  }

  .action-text {
    font-size: 15px;
    margin-left: 0;
    text-align: center;
  }
}
